/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package dae.fxcreator.ui;

import dae.fxcreator.node.ShaderNode;
import javax.swing.JPanel;

/**
 * This panel allows you to customize the settings for a selected node.
 * @author Koen
 */
public class NodeCustomizer extends JPanel{
    /**
     * The node to change the settings for.
     */
    private ShaderNode node;

    /**
     * Returns the node that thise customizer shows.
     * @return the node that is shown.
     */
    public ShaderNode getNode() {
        return node;
    }

    /**
     * Sets the node that is being customized.
     * @param node the node to customize.
     */
    public void setNode(ShaderNode node) {
        this.node = node;
        if (node != null){
            updateUI();
        }
    }

    private void updateCustomizer(){

    }
}